package com.rulin.asp.business.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.rulin.asp.business.entity.Dictionary;

@Repository
public interface DictionaryMapper {
    int insert(Dictionary record);

    int insertSelective(Dictionary record);
    
    List<Dictionary> selectByModel(String model);
    
    Dictionary selectByModelAndCode(@Param("model") String model,@Param("code") String code);
    
    Dictionary selectByModelAndValue(@Param("model") String model,@Param("value") String value);
}